Problem Note 65620: The "appsrvconfig.cmd start" or "appsrvconfig.sh start" command fails and generates an error after you apply Hot Fix A7F00n or Hot Fix B7Q00n
When you submit the appsrvconfig.cmd start command (Microsoft Windows) or the appsrvconfig.sh start command (UNIX) after you apply certain hot fixes, the script produces the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: groovy/lang/GroovyObject
at java.lang.ClassLoader.defineClass1(Native Method)
The issue occurs when you submit the command after you apply either Hot Fix A7F00n (for SAS® 9.4M4) or B7Q00n (for SAS 9.4M5). This problem happens because the groovy-all.jar file in the SAS-configuration-directory/LevN/Web/Scripts/WebServer/lib/ directory is listed in the CLASSPATH variable in appsrvconfig.cmd/sh, but that file does not exist on the system.
You can resolve this problem in either of the following ways:
Workaround 1
- Make a backup of the original groovy-all.jar file.
- Modify the CLASSPATH variable in appsrvconfig.cmd/sh so that it points to the new location. For example, change the path from SAS-configuration-directory/LevN/Web/Scripts/WebServer/lib/groovy-all.jar to the path that is shown below:
SASHOME/SASDeploymentManager/9.4/products/cfgwizard__94xxxx__prt__xx__sp0__1/Utilities/AppServer/lib/groovy-all.jar
Workaround 2:
Copy the groovy-all.jar from the directory SASHOME/SASDeploymentManager/9.4/products/cfgwizard__94xxxx__prt__xx__sp0__1/Utilities/AppServer/lib/ to this directory SAS-configuration-directory/LevN/Web/Scripts/WebServer/lib/.
Note: To determine which hot fixes are installed in your environment, see SAS KB0036131, "Using the ViewRegistry Report and other methods to determine the software releases and hot fixes that are installed."
Operating System and Release Information
SAS System | SAS Web Server | Solaris for x64 | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
Linux for x64 | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
HP-UX IPF | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
64-bit Enabled Solaris | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
64-bit Enabled AIX | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
Microsoft® Windows® for x64 | 9.43 | 9.45 | 9.4 TS1M4 | 9.4 TS1M6 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2020-06-16 11:38:57 |
Date Created: | 2020-02-27 13:18:29 |